package cn.imvc.app.models;

import java.util.Set;

import cn.imvc.app.entities.Department;
import cn.imvc.app.entities.Department_position;
import cn.imvc.app.entities.Position;

public interface PositionDepartmentModel {
	String getPositions();	
	String getDepartmentTree(int positionId);
	void savePositionDepartment(int id,Set<Department> departments);
	
	String getDepartments();	
	String getPositionTree(int departmentId);
	void saveDepartmentPosition(int id,Set<Position> Positions);
	
	String getPositions(int departmentId);
	
	Set<Department_position> get(int did ,int pid);
	
}
